
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>Mobile Recommendation · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="modal.html" />
    
    
    <link rel="prev" href="loop-unrolling.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    Introduction
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="./">
            
                <a href="./">
            
                    
                    前端进阶
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="Grid System.html">
            
                <a href="Grid System.html">
            
                    
                    Grid System
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="Handwritten signature.html">
            
                <a href="Handwritten signature.html">
            
                    
                    Handwritten Signature
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="Mobile Soft Keyboard.html">
            
                <a href="Mobile Soft Keyboard.html">
            
                    
                    Mobile Soft Keyboard
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="authentication.html">
            
                <a href="authentication.html">
            
                    
                    Authentication
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7" >
            
                <span>
            
                    
                    Code
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.1" >
            
                <span>
            
                    
                    Four Operations
            
                </span>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="control loading.html">
            
                <a href="control loading.html">
            
                    
                    Control Loading
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="downfile.html">
            
                <a href="downfile.html">
            
                    
                    Downfile
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="dynamic-routing.html">
            
                <a href="dynamic-routing.html">
            
                    
                    Dynamic Routing
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11" data-path="ecs.html">
            
                <a href="ecs.html">
            
                    
                    Ecs
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12" data-path="engineering.html">
            
                <a href="engineering.html">
            
                    
                    Engineering
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13" data-path="eslint-vscode-format.html">
            
                <a href="eslint-vscode-format.html">
            
                    
                    Eslint Vscode Format
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.14" data-path="eventloop.html">
            
                <a href="eventloop.html">
            
                    
                    Eventloop
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15" data-path="four-operations-1.html">
            
                <a href="four-operations-1.html">
            
                    
                    Four Operations 1
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.16" data-path="four-operations-2.html">
            
                <a href="four-operations-2.html">
            
                    
                    Four Operations 2
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.17" data-path="four-operations-3.html">
            
                <a href="four-operations-3.html">
            
                    
                    Four Operations 3
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.18" data-path="four-operations-4.html">
            
                <a href="four-operations-4.html">
            
                    
                    Four Operations 4
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.19" data-path="front end summary.html">
            
                <a href="front end summary.html">
            
                    
                    Front End Summary
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.20" data-path="git commit style.html">
            
                <a href="git commit style.html">
            
                    
                    Git Commit Style
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.21" data-path="git-commands.html">
            
                <a href="git-commands.html">
            
                    
                    Git Commands
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.22" data-path="high-quality-code.html">
            
                <a href="high-quality-code.html">
            
                    
                    High Quality Code
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.23" data-path="history.html">
            
                <a href="history.html">
            
                    
                    History
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.24" data-path="html-tag.html">
            
                <a href="html-tag.html">
            
                    
                    Html Tag
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.25" data-path="http-https-http2.html">
            
                <a href="http-https-http2.html">
            
                    
                    Http Https Http2
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.26" data-path="ignore log.html">
            
                <a href="ignore log.html">
            
                    
                    Ignore Log
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.27" >
            
                <span>
            
                    
                    Imgs
            
                </span>
            

            
        </li>
    
        <li class="chapter " data-level="1.28" data-path="javascript-optimization.html">
            
                <a href="javascript-optimization.html">
            
                    
                    Javascript Optimization
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.29" data-path="local application.html">
            
                <a href="local application.html">
            
                    
                    Local Application
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.30" data-path="locality.html">
            
                <a href="locality.html">
            
                    
                    Locality
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.31" data-path="loop-unrolling.html">
            
                <a href="loop-unrolling.html">
            
                    
                    Loop Unrolling
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.32" data-path="mobile recommendation.html">
            
                <a href="mobile recommendation.html">
            
                    
                    Mobile Recommendation
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.33" data-path="modal.html">
            
                <a href="modal.html">
            
                    
                    Modal
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.34" data-path="monitor.html">
            
                <a href="monitor.html">
            
                    
                    Monitor
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.35" data-path="performance.html">
            
                <a href="performance.html">
            
                    
                    Performance
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.36" data-path="print-talbe.html">
            
                <a href="print-talbe.html">
            
                    
                    Print Talbe
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.37" data-path="promise.html">
            
                <a href="promise.html">
            
                    
                    Promise
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.38" data-path="teaching.html">
            
                <a href="teaching.html">
            
                    
                    Teaching
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.39" data-path="vue refresh.html">
            
                <a href="vue refresh.html">
            
                    
                    Vue Refresh
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.40" data-path="vue-page-not-refresh.html">
            
                <a href="vue-page-not-refresh.html">
            
                    
                    Vue Page Not Refresh
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.41" data-path="why-learn-theory.html">
            
                <a href="why-learn-theory.html">
            
                    
                    Why Learn Theory
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >Mobile Recommendation</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x79FB;&#x52A8;&#x7AEF;&#x5F00;&#x53D1;&#x4E00;&#x4E9B;&#x5E38;&#x89C1;&#x95EE;&#x9898;&#x7684;&#x89E3;&#x51B3;&#x65B9;&#x6848;">&#x79FB;&#x52A8;&#x7AEF;&#x5F00;&#x53D1;&#x4E00;&#x4E9B;&#x5E38;&#x89C1;&#x95EE;&#x9898;&#x7684;&#x89E3;&#x51B3;&#x65B9;&#x6848;</h1>
<h2 id="1-&#x83B7;&#x53D6;&#x8BBE;&#x5907;&#x7684;&#x771F;&#x5B9E;&#x5F00;&#x53D1;&#x5206;&#x8FA8;&#x7387;&#xFF08;&#x903B;&#x8F91;&#x5206;&#x8FA8;&#x7387;&#xFF09;">1. &#x83B7;&#x53D6;&#x8BBE;&#x5907;&#x7684;&#x771F;&#x5B9E;&#x5F00;&#x53D1;&#x5206;&#x8FA8;&#x7387;&#xFF08;&#x903B;&#x8F91;&#x5206;&#x8FA8;&#x7387;&#xFF09;</h2>
<p>&#x6700;&#x8FD1;&#x67E5;&#x4E86;&#x597D;&#x591A;&#x5173;&#x4E8E;&#x79FB;&#x52A8;&#x7AEF;&#x9002;&#x914D;&#x7684;&#x8D44;&#x6599;&#xFF0C;&#x628A;&#x4EBA;&#x90FD;&#x770B;&#x61F5;&#x4E86;&#xFF0C;&#x6536;&#x83B7;&#x4E86;&#x4E00;&#x5806;&#x540D;&#x8BCD;&#xFF1A;</p>
<pre><code>CSS&#x50CF;&#x7D20;&#x3001;&#x7269;&#x7406;&#x5206;&#x8FA8;&#x7387;&#x3001;&#x903B;&#x8F91;&#x5206;&#x8FA8;&#x7387;&#x3001;&#x8BBE;&#x5907;&#x50CF;&#x7D20;&#x6BD4;&#x3001;PPI&#x3001;DPI&#x3001;DPR&#x3001;DIP&#x3001;Viewport
</code></pre><p>&#x5176;&#x5B9E;&#xFF0C;&#x5BF9;&#x4E8E;&#x5F00;&#x53D1;&#x6765;&#x8BF4;&#xFF0C;&#x53EA;&#x9700;&#x8981;&#x4E86;&#x89E3;&#x4E09;&#x4E2A;&#x6982;&#x5FF5;&#x3002;</p>
<ol>
<li>&#x7269;&#x7406;&#x5206;&#x8FA8;&#x7387;&#xFF0C;&#x5C31;&#x662F;&#x8BBE;&#x5907;&#x4E0A;&#x6807;&#x79F0;&#x7684;&#x5206;&#x8FA8;&#x7387;&#x3002;</li>
<li>&#x903B;&#x8F91;&#x5206;&#x8FA8;&#x7387;&#xFF0C;&#x5F00;&#x53D1;&#x65F6;&#x6240;&#x7528;&#x7684;&#x5206;&#x8FA8;&#x7387;&#x3002;</li>
<li>&#x8BBE;&#x5907;&#x50CF;&#x7D20;&#x6BD4;&#xFF0C;&#x7269;&#x7406;&#x5206;&#x8FA8;&#x7387;&#x548C;&#x903B;&#x8F91;&#x5206;&#x8FA8;&#x7387;&#x4E4B;&#x6BD4;&#x3002;</li>
</ol>
<p>&#x4F8B;&#x5982; iphone 6&#xFF0C;&#x5B83;&#x7684;&#x7269;&#x7406;&#x5206;&#x8FA8;&#x7387;&#x662F; <code>750 x 1334</code>&#xFF0C;&#x903B;&#x8F91;&#x5206;&#x8FA8;&#x7387;&#x662F; <code>375 x 667</code>&#xFF0C;&#x8BBE;&#x5907;&#x50CF;&#x7D20;&#x6BD4;&#x662F; 2&#xFF08;<code>750 / 375</code>&#xFF09;&#x3002;&#x6253;&#x5F00; chrome &#x63A7;&#x5236;&#x53F0;&#xFF0C;&#x5207;&#x6362;&#x5230; device toolbar&#xFF0C; &#x9009;&#x62E9; iphone 6 &#x8BBE;&#x5907;&#x5C31;&#x80FD;&#x770B;&#x5230;&#x5B83;&#x7684;&#x903B;&#x8F91;&#x5206;&#x8FA8;&#x7387;&#x3002;</p>
<p><img src="https://img-blog.csdnimg.cn/20201121110407618.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3E0MTEwMjAzODI=,size_16,color_FFFFFF,t_70#pic_center" alt="&#x5728;&#x8FD9;&#x91CC;&#x63D2;&#x5165;&#x56FE;&#x7247;&#x63CF;&#x8FF0;"></p>
<p>&#x5E73;&#x65F6;&#x6240;&#x8BF4;&#x7684; UI &#x8BBE;&#x8BA1;&#x7A3F; 2 &#x500D;&#x56FE;&#x3001;3 &#x500D;&#x56FE;&#x3002;&#x8FD9;&#x4E2A;&#x500D;&#x5C31;&#x662F;&#x6307;&#x8BBE;&#x5907;&#x50CF;&#x7D20;&#x6BD4;&#x3002;&#x4F8B;&#x5982;&#x8BBE;&#x8BA1;&#x7A3F;&#x662F; 2 &#x500D;&#x56FE;&#xFF0C;&#x91CC;&#x9762;&#x7684;&#x5B57;&#x4F53;&#x662F; 24 px&#xFF0C;&#x90A3;&#x6211;&#x4EEC;&#x7528; <code>24 / 2</code> &#x5C31;&#x53EF;&#x4EE5;&#x5F97;&#x51FA;&#x5F00;&#x53D1;&#x8981;&#x7528;&#x7684;&#x50CF;&#x7D20;&#x4E3A; 12 px&#x3002;</p>
<p>&#x82F9;&#x679C;&#x8BBE;&#x5907;&#x5927;&#x591A;&#x90FD;&#x80FD;&#x67E5;&#x5230;&#x5B83;&#x7684;&#x903B;&#x8F91;&#x5206;&#x8FA8;&#x7387;&#x662F;&#x591A;&#x5C11;&#x3002;&#x4F46;&#x5B89;&#x5353;&#x8BBE;&#x5907;&#x4E0D;&#x662F;&#xFF0C;&#x6240;&#x4EE5;&#x9700;&#x8981;&#x4F7F;&#x7528;&#x5176;&#x4ED6;&#x624B;&#x6BB5;&#x3002;</p>
<h3 id="&#x77E5;&#x9053;&#x7269;&#x7406;&#x5206;&#x8FA8;&#x7387;">&#x77E5;&#x9053;&#x7269;&#x7406;&#x5206;&#x8FA8;&#x7387;</h3>
<p>&#x5982;&#x679C;&#x4F60;&#x77E5;&#x9053;&#x7269;&#x7406;&#x5206;&#x8FA8;&#x7387;&#xFF0C;&#x90A3;&#x53EF;&#x4EE5;&#x901A;&#x8FC7; <code>window.devicePixelRatio</code> &#x83B7;&#x53D6;&#x8BBE;&#x5907;&#x50CF;&#x7D20;&#x6BD4;&#x3002;&#x7136;&#x540E;&#x518D;&#x901A;&#x8FC7;&#x516C;&#x5F0F;&#x5F97;&#x51FA;&#x903B;&#x8F91;&#x5206;&#x8FA8;&#x7387;&#x3002;</p>
<pre><code class="lang-js">&#x903B;&#x8F91;&#x5206;&#x8FA8;&#x7387; = &#x7269;&#x7406;&#x5206;&#x8FA8;&#x7387; / &#x8BBE;&#x5907;&#x50CF;&#x7D20;&#x6BD4;
</code></pre>
<p>&#x4F8B;&#x5982; PC &#x4E0A;&#x7684;&#x8BBE;&#x5907;&#x50CF;&#x7D20;&#x6BD4;&#x5C31;&#x662F; 1&#x3002;</p>
<p><img src="https://img-blog.csdnimg.cn/20201121111155948.png#pic_center" alt="&#x5728;&#x8FD9;&#x91CC;&#x63D2;&#x5165;&#x56FE;&#x7247;&#x63CF;&#x8FF0;"></p>
<p>&#x5F00;&#x53D1; PC &#x9875;&#x9762;&#x662F;&#x5F88;&#x7B80;&#x5355;&#x7684;&#xFF0C;&#x8BBE;&#x8BA1;&#x7A3F;&#x4E0A;&#x7684;&#x50CF;&#x7D20;&#x662F;&#x591A;&#x5C11;&#xFF0C;&#x5F00;&#x53D1;&#x5C31;&#x5199;&#x591A;&#x5C11;&#x3002;</p>
<h3 id="&#x4EC0;&#x4E48;&#x90FD;&#x4E0D;&#x77E5;&#x9053;">&#x4EC0;&#x4E48;&#x90FD;&#x4E0D;&#x77E5;&#x9053;</h3>
<p>&#x5373;&#x4F7F;&#x4F60;&#x8FDE;&#x7269;&#x7406;&#x5206;&#x8FA8;&#x7387;&#x90FD;&#x4E0D;&#x77E5;&#x9053;&#xFF0C;&#x90A3;&#x4E5F;&#x4E0D;&#x8981;&#x7D27;&#xFF0C;&#x4E00;&#x6837;&#x6709;&#x529E;&#x6CD5;&#x80FD;&#x5F97;&#x5230;&#x8BBE;&#x5907;&#x7684;&#x903B;&#x8F91;&#x5206;&#x8FA8;&#x7387;&#x3002;</p>
<p>&#x5728;&#x9875;&#x9762;&#x5EFA;&#x7ACB;&#x4E00;&#x4E2A;&#x521A;&#x597D;&#x94FA;&#x6EE1;&#x5168;&#x5C4F;&#x7684; div &#x5143;&#x7D20;&#xFF0C;&#x7136;&#x540E;&#x83B7;&#x53D6;&#x5B83;&#x7684;&#x5BBD;&#x9AD8;&#xFF0C;&#x8FD9;&#x4E2A;&#x5BBD;&#x9AD8;&#x5C31;&#x662F;&#x8BE5;&#x8BBE;&#x5907;&#x7684;&#x903B;&#x8F91;&#x5206;&#x8FA8;&#x7387;&#x3002;</p>
<pre><code class="lang-css"><span class="hljs-selector-class">.test-div</span> {
    <span class="hljs-attribute">position</span>: fixed;
    <span class="hljs-attribute">left</span>: <span class="hljs-number">0</span>;
    <span class="hljs-attribute">top</span>: <span class="hljs-number">0</span>;
    <span class="hljs-attribute">width</span>: <span class="hljs-number">100vw</span>;
    <span class="hljs-attribute">height</span>: <span class="hljs-number">100vh</span>;
    <span class="hljs-attribute">background</span>: red;
}
</code></pre>
<pre><code class="lang-js"><span class="hljs-built_in">document</span>.querySelector(<span class="hljs-string">&apos;test-div&apos;</span>).clientWidth <span class="hljs-comment">// &#x5BBD;</span>
<span class="hljs-built_in">document</span>.querySelector(<span class="hljs-string">&apos;test-div&apos;</span>).clientHeight <span class="hljs-comment">// &#x9AD8;</span>
</code></pre>
<p>&#x521A;&#x597D;&#x6211;&#x624B;&#x4E0A;&#x6709;&#x4E00;&#x4E2A;&#x534E;&#x4E3A;  m5 &#x5E73;&#x677F;&#x548C;&#x534E;&#x4E3A; m5pro &#x5E73;&#x677F;&#xFF0C;&#x5927;&#x5C0F;&#x5206;&#x522B;&#x4E3A; 10.1 &#x5BF8;&#x548C; 10.8 &#x5BF8;&#xFF0C;&#x7528;&#x8FD9;&#x79CD;&#x65B9;&#x6CD5;&#x83B7;&#x53D6;&#x5230;&#x5B83;&#x4EEC;&#x7684;&#x903B;&#x8F91;&#x5206;&#x8FA8;&#x7387;&#x5206;&#x522B;&#x4E3A; <code>960 x 600</code>&#x3001;<code>1024 x 640</code>&#x3002;</p>
<p>&#x5982;&#x56FE;&#x6240;&#x793A;&#xFF08;&#x534E;&#x4E3A; m5&#xFF09;&#xFF1A;</p>
<p><img src="https://img-blog.csdnimg.cn/20191213104213298.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3E0MTEwMjAzODI=,size_16,color_FFFFFF,t_70" alt="&#x5728;&#x8FD9;&#x91CC;&#x63D2;&#x5165;&#x56FE;&#x7247;&#x63CF;&#x8FF0;"></p>
<p>&#x4E3A;&#x4E86;&#x8BC1;&#x660E;&#x63A8;&#x65AD;&#x662F;&#x6B63;&#x786E;&#x7684;&#xFF0C;&#x6211;&#x62FF;&#x4E86;&#x4E00;&#x4E2A;&#x4E13;&#x95E8;&#x5728; m5pro &#x4E0A;&#x4F7F;&#x7528;&#x7684; app &#x653E;&#x5728; chrome &#x4E0A;&#x8FD0;&#x884C;&#xFF08;&#x6A21;&#x62DF;&#x8BE5;&#x8BBE;&#x5907;&#x7684;&#x903B;&#x8F91;&#x5206;&#x8FA8;&#x7387;&#xFF09;&#xFF0C;&#x5B8C;&#x7F8E;&#x9002;&#x914D;&#x3002;</p>
<p><img src="https://img-blog.csdnimg.cn/20191213105110800.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3E0MTEwMjAzODI=,size_16,color_FFFFFF,t_70" alt="&#x5728;&#x8FD9;&#x91CC;&#x63D2;&#x5165;&#x56FE;&#x7247;&#x63CF;&#x8FF0;"></p>
<p>&#x4E3A;&#x4EC0;&#x4E48;&#x4E0D;&#x4F7F;&#x7528; <code>window.screen.width</code> &#x6216; <code>window.screen.height</code> &#x6765;&#x83B7;&#x53D6;&#x903B;&#x8F91;&#x5206;&#x8FA8;&#x7387;&#x5462;&#xFF1F;&#x8BF7;&#x770B; MDN &#x7684;&#x89E3;&#x91CA;&#xFF1A;</p>
<blockquote>
<p>&#x6CE8;&#x610F;&#xFF0C;&#x8BE5;&#x5C5E;&#x6027;&#x8FD4;&#x56DE;&#x7684;&#x9AD8;&#x5EA6;&#x503C;&#x5E76;&#x4E0D;&#x662F;&#x5168;&#x90E8;&#x5BF9;&#x6D4F;&#x89C8;&#x5668;&#x7A97;&#x53E3;&#x53EF;&#x7528;&#x3002;&#x5C0F;&#x5DE5;&#x5177;&#xFF08;Widgets&#xFF09;&#xFF0C;&#x5982;&#x4EFB;&#x52A1;&#x680F;&#x6216;&#x5176;&#x4ED6;&#x7279;&#x6B8A;&#x7684;&#x7A0B;&#x5E8F;&#x7A97;&#x53E3;&#xFF0C;&#x53EF;&#x80FD;&#x4F1A;&#x51CF;&#x5C11;&#x6D4F;&#x89C8;&#x5668;&#x7A97;&#x53E3;&#x548C;&#x5176;&#x4ED6;&#x5E94;&#x7528;&#x7A0B;&#x5E8F;&#x80FD;&#x591F;&#x5229;&#x7528;&#x7684;&#x7A7A;&#x95F4;&#x3002;</p>
</blockquote>
<p>&#x4E5F;&#x5C31;&#x662F;&#x8BF4;&#xFF0C;&#x8FD4;&#x56DE;&#x6765;&#x7684;&#x9AD8;&#x5EA6;&#x6709;&#x4E00;&#x90E8;&#x5206;&#x53EF;&#x80FD;&#x4F1A;&#x88AB;&#x5176;&#x4ED6;&#x7A0B;&#x5E8F;&#x5360;&#x7528;&#x3002;</p>
<p><strong>PS</strong>&#xFF1A;&#x5982;&#x679C; app &#x5728;&#x79FB;&#x52A8;&#x8BBE;&#x5907;&#x4E0A;&#x4E0D;&#x9700;&#x8981;&#x5168;&#x5C4F;&#x5C55;&#x793A;&#xFF0C;&#x90A3;&#x4E48;&#x5728; chrome &#x4E0A;&#x6A21;&#x62DF;&#x8BBE;&#x5907;&#x5927;&#x5C0F;&#x65F6;&#x8981;&#x51CF;&#x53BB;&#x8BBE;&#x5907;&#x72B6;&#x6001;&#x680F;&#x7684;&#x9AD8;&#x5EA6;&#x3002;</p>
<h2 id="2-&#x9875;&#x9762;&#x9002;&#x914D;">2. &#x9875;&#x9762;&#x9002;&#x914D;</h2>
<p>&#x5728; css &#x4E2D;&#x6709;&#x5F88;&#x591A;&#x76F8;&#x5BF9;&#x957F;&#x5EA6;&#xFF0C;&#x5176;&#x4E2D;&#x5E38;&#x7528;&#x7684;&#x6709; em&#x3001;rem&#x3001;vw&#x3001;vh &#x7B49;&#xFF0C;&#x5728;&#x5C0F;&#x7A0B;&#x5E8F;&#x4E0A;&#x8FD8;&#x6709; rpx&#x3002;&#x4E0D;&#x7BA1;&#x662F; rem&#x3001;vw &#x8FD8;&#x662F; rpx&#xFF0C;&#x90FD;&#x662F;&#x8DDF;&#x5C4F;&#x5E55;&#x5BBD;&#x5EA6;&#x6709;&#x5173;&#x7684;&#x3002;&#x7528;&#x8FD9;&#x4E9B;&#x8BA1;&#x91CF;&#x5355;&#x4F4D;&#x5F00;&#x53D1;&#x7684;&#x9875;&#x9762;&#xFF0C;&#x4E0D;&#x4E00;&#x5B9A;&#x80FD;&#x517C;&#x5BB9;&#x6240;&#x6709;&#x7684;&#x79FB;&#x52A8;&#x7AEF;&#x8BBE;&#x5907;&#x3002;</p>
<p>&#x4F8B;&#x5982;&#x5B8C;&#x7F8E;&#x9002;&#x914D; iphone 6 &#x7684;&#x9875;&#x9762;&#xFF0C;&#x5728;&#x5E73;&#x677F;&#x4E0A;&#x5C31;&#x53EF;&#x80FD;&#x4F1A;&#x51FA;&#x73B0;&#x6837;&#x5F0F;&#x95EE;&#x9898;&#x3002;</p>
<p><strong>&#x9002;&#x914D; iphone &#x7684;&#x9875;&#x9762;</strong>&#xFF1A;</p>
<p><img src="https://img-blog.csdnimg.cn/2020112112523771.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3E0MTEwMjAzODI=,size_16,color_FFFFFF,t_70#pic_center" alt="&#x5728;&#x8FD9;&#x91CC;&#x63D2;&#x5165;&#x56FE;&#x7247;&#x63CF;&#x8FF0;"></p>
<p><strong>&#x653E;&#x5230;&#x5E73;&#x677F;&#x4E0B;&#x5C31;&#x4E71;&#x4E86;</strong>&#xFF1A;</p>
<p><img src="https://img-blog.csdnimg.cn/20201121125328211.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3E0MTEwMjAzODI=,size_16,color_FFFFFF,t_70#pic_center" alt="&#x5728;&#x8FD9;&#x91CC;&#x63D2;&#x5165;&#x56FE;&#x7247;&#x63CF;&#x8FF0;"></p>
<p>&#x4E3A;&#x6B64;&#xFF0C;&#x6709;&#x4E9B;&#x7F51;&#x7AD9;&#x505A;&#x6210;&#x4E86;&#x5177;&#x6709;&#x591A;&#x5957;&#x6837;&#x5F0F;&#x7684;&#x81EA;&#x9002;&#x5E94;&#x7F51;&#x7AD9;&#x3002;&#x4F8B;&#x5982;&#x7528;&#x624B;&#x673A;&#x3001;&#x5E73;&#x677F;&#x3001;PC &#x8BBF;&#x95EE;&#x7684;&#x7F51;&#x7AD9;&#x6837;&#x5F0F;&#x662F;&#x4E0D;&#x4E00;&#x6837;&#x7684;&#x3002;&#x4E0D;&#x8FC7;&#x8FD9;&#x79CD;&#x7F51;&#x7AD9;&#x7EF4;&#x62A4;&#x8D77;&#x6765;&#x5DE5;&#x4F5C;&#x91CF;&#x5F88;&#x5927;&#xFF0C;&#x4E5F;&#x5F88;&#x7E41;&#x7410;&#x3002;&#x800C;&#x4E14;&#x73B0;&#x5728;&#x624B;&#x673A;&#x4E0E;&#x624B;&#x673A;&#x4E4B;&#x95F4;&#x7684;&#x5DEE;&#x5F02;&#x4E5F;&#x5F88;&#x5927;&#xFF0C;&#x9700;&#x8981;&#x5199;&#x5F88;&#x591A; <code>@media</code> &#x6765;&#x89E3;&#x51B3;&#x9002;&#x914D;&#x7684;&#x95EE;&#x9898;&#x3002;</p>
<h3 id="&#x4E00;&#x4E2A;&#x53EF;&#x884C;&#x7684;&#x89E3;&#x51B3;&#x65B9;&#x6848;">&#x4E00;&#x4E2A;&#x53EF;&#x884C;&#x7684;&#x89E3;&#x51B3;&#x65B9;&#x6848;</h3>
<p>&#x6211;&#x89C9;&#x5F97;&#x6709;&#x4E00;&#x4E2A;&#x6BD4;&#x8F83;&#x53EF;&#x884C;&#x7684;&#x89E3;&#x51B3;&#x65B9;&#x6848;&#xFF0C;&#x5BF9;&#x4E8E;&#x9002;&#x914D;&#x591A;&#x79CD;&#x79FB;&#x52A8;&#x8BBE;&#x5907;&#x6709;&#x4E00;&#x5B9A;&#x7684;&#x5E2E;&#x52A9;&#x3002;</p>
<p>&#x90A3;&#x5C31;&#x662F;<strong>&#x6574;&#x4F53;&#x5E03;&#x5C40;&#x4F7F;&#x7528; vw&#x3001;&#x767E;&#x5206;&#x6BD4; % &#x4F5C;&#x4E3A;&#x8BA1;&#x91CF;&#x5355;&#x4F4D;&#xFF0C;&#x5185;&#x5BB9;&#x6837;&#x5F0F;&#x4E0A;&#x4F7F;&#x7528; px &#x4F5C;&#x4E3A;&#x8BA1;&#x91CF;&#x5355;&#x4F4D;</strong>&#x3002;</p>
<p><img src="https://segmentfault.com/img/remote/1460000038246027/view" alt="&#x5728;&#x8FD9;&#x91CC;&#x63D2;&#x5165;&#x56FE;&#x7247;&#x63CF;&#x8FF0;"></p>
<p><img src="https://img-blog.csdnimg.cn/20201121142851802.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3E0MTEwMjAzODI=,size_16,color_FFFFFF,t_70#pic_center" alt="&#x5728;&#x8FD9;&#x91CC;&#x63D2;&#x5165;&#x56FE;&#x7247;&#x63CF;&#x8FF0;"></p>
<p><img src="https://img-blog.csdnimg.cn/20201121142931403.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3E0MTEwMjAzODI=,size_16,color_FFFFFF,t_70#pic_center" alt="&#x5728;&#x8FD9;&#x91CC;&#x63D2;&#x5165;&#x56FE;&#x7247;&#x63CF;&#x8FF0;"></p>
<p>&#x4ECE;&#x4E0A;&#x9762;&#x4E09;&#x4E2A;&#x56FE;&#x53EF;&#x4EE5;&#x770B;&#x5230;&#xFF0C;&#x7528; px &#x6765;&#x505A;&#x5185;&#x5BB9;&#x6837;&#x5F0F;&#x7684;&#x8BA1;&#x91CF;&#x5355;&#x4F4D;&#xFF0C;&#x662F;&#x53EF;&#x4EE5;&#x9002;&#x914D;&#x591A;&#x7AEF;&#x7684;&#x3002;&#x5373;&#x4F7F;&#x4E3A;&#x79FB;&#x52A8;&#x7AEF;&#x8BBE;&#x5907;&#x5199;&#x7684;&#x7F51;&#x7AD9;&#xFF0C;&#x653E;&#x5230; PC &#x4E0B;&#x4E5F;&#x80FD;&#x9002;&#x914D;&#x3002;</p>
<p>&#x8FD9;&#x79CD;&#x89E3;&#x51B3;&#x65B9;&#x6848;&#x5C31;&#x662F;&#x7B80;&#x5355;&#x65B9;&#x4FBF;&#xFF0C;&#x4E00;&#x52B3;&#x6C38;&#x9038;&#x3002;&#x76EE;&#x524D;&#x6211;&#x6240;&#x5F00;&#x53D1;&#x8FC7;&#x7684;&#x79FB;&#x52A8;&#x7AEF;&#x9879;&#x76EE;&#x90FD;&#x662F;&#x7528;&#x7684;&#x8FD9;&#x79CD;&#x89E3;&#x51B3;&#x65B9;&#x6848;&#xFF0C;&#x6682;&#x65F6;&#x8FD8;&#x672A;&#x9047;&#x5230;&#x9002;&#x914D;&#x4E0A;&#x7684;&#x95EE;&#x9898;&#x3002;</p>
<p>&#x800C;&#x4E14;&#x8FD9;&#x6837;&#x5199;&#x8FD8;&#x6709;&#x4E00;&#x4E2A;&#x597D;&#x5904;&#xFF0C;&#x5C31;&#x662F;<strong>&#x66F4;&#x5927;&#x7684;&#x5C4F;&#x5E55;&#x53EF;&#x4EE5;&#x770B;&#x5230;&#x66F4;&#x591A;&#x7684;&#x5185;&#x5BB9;&#xFF0C;&#x800C;&#x4E0D;&#x662F;&#x770B;&#x5230;&#x66F4;&#x5927;&#x7684;&#x5185;&#x5BB9;</strong>&#x3002;&#x4F8B;&#x5982;&#x5728;&#x624B;&#x673A;&#x7AEF;&#x4E0B;&#xFF0C;&#x4E00;&#x884C;&#x53EA;&#x80FD;&#x663E;&#x793A; x &#x4E2A;&#x5B57;&#xFF0C;&#x8981;&#x662F;&#x5185;&#x5BB9;&#x8D85;&#x51FA;&#x5C4F;&#x5E55;&#x5C31;&#x5F97;&#x7528;&#x7701;&#x7565;&#x53F7;&#x4EE3;&#x66FF;&#x3002;&#x5982;&#x679C;&#x6362;&#x6210;&#x5E73;&#x677F;&#xFF0C;&#x53EF;&#x80FD;&#x5C31;&#x80FD;&#x628A;&#x5185;&#x5BB9;&#x5B8C;&#x6574;&#x7684;&#x663E;&#x793A;&#x51FA;&#x6765;&#x3002;</p>
<h3 id="&#x5176;&#x4ED6;&#x89E3;&#x51B3;&#x65B9;&#x6848;">&#x5176;&#x4ED6;&#x89E3;&#x51B3;&#x65B9;&#x6848;</h3>
<p>&#x8FD8;&#x6709;&#x4E00;&#x4E2A;&#x89E3;&#x51B3;&#x65B9;&#x6848;&#x662F;&#x5728;&#x8FD9;&#x4E2A;<a href="https://news.qq.com/zt2020/page/feiyan.htm#/" target="_blank">&#x7F51;&#x7AD9;</a>&#x53D1;&#x73B0;&#x7684;&#x3002;&#x8FD9;&#x4E2A;&#x7F51;&#x7AD9;&#x6574;&#x4F53;&#x5E03;&#x5C40;&#x548C;&#x5185;&#x5BB9;&#x90FD;&#x662F;&#x4F7F;&#x7528; vw &#x4F5C;&#x4E3A;&#x8BA1;&#x91CF;&#x5355;&#x4F4D;&#xFF0C;&#x5728;&#x79FB;&#x52A8;&#x7AEF;&#x4E0A;&#x6CA1;&#x4EC0;&#x4E48;&#x95EE;&#x9898;&#x3002;&#x4F46;&#x5728; PC &#x7AEF;&#x4E0B;&#xFF0C;&#x5B83;&#x4F7F;&#x7528;&#x4E86; <code>scale</code> &#x5C5E;&#x6027;&#x3002;&#x4E5F;&#x5C31;&#x662F;&#x8BF4;&#xFF0C;&#x5F53;&#x68C0;&#x6D4B;&#x5230;&#x4F60;&#x7684;&#x8BBE;&#x5907;&#x662F; PC &#x65F6;&#xFF0C;&#x5B83;&#x4F1A;&#x4F7F;&#x7528; <code>scale</code> &#x5C06;&#x7F51;&#x7AD9;&#x8FDB;&#x884C;&#x7F29;&#x5C0F;&#xFF0C;&#x6700;&#x5927;&#x5BBD;&#x5EA6;&#x56FA;&#x5B9A;&#x5728; <code>750px</code>&#x3002;&#x8FD9;&#x6837;&#xFF0C;&#x5373;&#x4F7F;&#x5185;&#x5BB9;&#x6837;&#x5F0F;&#x4F7F;&#x7528; vw &#x4F5C;&#x4E3A;&#x8BA1;&#x91CF;&#x5355;&#x4F4D;&#xFF0C;&#x4E5F;&#x4E0D;&#x4F1A;&#x51FA;&#x73B0;&#x6837;&#x5F0F;&#x9519;&#x4E71;&#x7684;&#x95EE;&#x9898;&#x3002;</p>
<p><img src="https://img-blog.csdnimg.cn/20201121152744749.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3E0MTEwMjAzODI=,size_16,color_FFFFFF,t_70#pic_center" alt="&#x5728;&#x8FD9;&#x91CC;&#x63D2;&#x5165;&#x56FE;&#x7247;&#x63CF;&#x8FF0;"></p>
<p><img src="https://img-blog.csdnimg.cn/20201121152804833.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3E0MTEwMjAzODI=,size_16,color_FFFFFF,t_70#pic_center" alt="&#x5728;&#x8FD9;&#x91CC;&#x63D2;&#x5165;&#x56FE;&#x7247;&#x63CF;&#x8FF0;"></p>
<h3 id="&#x6805;&#x683C;&#x5316;&#x5E03;&#x5C40;">&#x6805;&#x683C;&#x5316;&#x5E03;&#x5C40;</h3>
<p>&#x5728;&#x67D0;&#x4E9B;&#x60C5;&#x51B5;&#x4E0B;&#xFF0C;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;&#x6805;&#x683C;&#x5316;&#x5E03;&#x5C40;&#x3002;&#x4F8B;&#x5982;&#x5F53;&#x9875;&#x9762;&#x5206;&#x8FA8;&#x7387;&#x8F83;&#x5927;&#x65F6;&#xFF0C;&#x91C7;&#x53D6;&#x4E09;&#x5217;&#x5E03;&#x5C40;&#xFF1B;&#x5F53;&#x9875;&#x9762;&#x5206;&#x8FA8;&#x7387;&#x8F83;&#x5C0F;&#x65F6;&#xFF0C;&#x91C7;&#x7528;&#x4E24;&#x5217;&#x5E03;&#x5C40;&#x3002;</p>
<pre><code class="lang-html"><span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;container&quot;</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;col col-md-4 col-sm-6&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;col col-md-4 col-sm-6&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;col col-md-4 col-sm-12&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;col col-md-3 col-sm-3&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;col col-md-6 col-sm-6&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;col col-md-3 col-sm-3&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;col col-md-1 col-sm-2&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;col col-md-1 col-sm-2&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;col col-md-2 col-sm-8&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;col col-md-2 col-sm-3&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;col col-md-6 col-sm-3&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
    <span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
</code></pre>
<p><strong>&#x5206;&#x8FA8;&#x7387;&#x8F83;&#x5927;&#x65F6;&#x7684;&#x9875;&#x9762;</strong>&#xFF1A;</p>
<p><img src="https://img-blog.csdnimg.cn/20201121154641400.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3E0MTEwMjAzODI=,size_16,color_FFFFFF,t_70#pic_center" alt="&#x5728;&#x8FD9;&#x91CC;&#x63D2;&#x5165;&#x56FE;&#x7247;&#x63CF;&#x8FF0;"></p>
<p><strong>&#x5206;&#x8FA8;&#x7387;&#x8F83;&#x5C0F;&#x65F6;&#x7684;&#x9875;&#x9762;</strong>&#xFF1A;</p>
<p><img src="https://img-blog.csdnimg.cn/20201121154707760.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3E0MTEwMjAzODI=,size_16,color_FFFFFF,t_70#pic_center" alt="&#x5728;&#x8FD9;&#x91CC;&#x63D2;&#x5165;&#x56FE;&#x7247;&#x63CF;&#x8FF0;"></p>
<p>&#x5982;&#x679C;&#x4F60;&#x5BF9;&#x6805;&#x683C;&#x5316;&#x539F;&#x7406;&#x4E0D;&#x592A;&#x4E86;&#x89E3;&#xFF0C;&#x5EFA;&#x8BAE;&#x9605;&#x8BFB;&#x6211;&#x7684;&#x53E6;&#x4E00;&#x7BC7;&#x6587;&#x7AE0;<a href="https://zhuanlan.zhihu.com/p/61401978" target="_blank">&#x6805;&#x683C;&#x5316;&#x7CFB;&#x7EDF;&#x7684;&#x539F;&#x7406;&#x4EE5;&#x53CA;&#x5B9E;&#x73B0;</a>&#x3002;</p>
<h3 id="&#x5C3D;&#x91CF;&#x4F7F;&#x7528;&#x79FB;&#x52A8;&#x7AEF;&#x4E13;&#x7528;&#x7684;-ui-&#x7EC4;&#x4EF6;&#x5E93;">&#x5C3D;&#x91CF;&#x4F7F;&#x7528;&#x79FB;&#x52A8;&#x7AEF;&#x4E13;&#x7528;&#x7684; UI &#x7EC4;&#x4EF6;&#x5E93;</h3>
<p>PC &#x7AEF;&#x7684; UI &#x7EC4;&#x4EF6;&#x5E93;&#x5728;&#x79FB;&#x52A8;&#x7AEF;&#x4E0A;&#x4F1A;&#x6709;&#x5F88;&#x591A;&#x6837;&#x5F0F;&#x95EE;&#x9898;&#xFF0C;&#x5982;&#x975E;&#x5FC5;&#x8981;&#xFF0C;&#x4E0D;&#x8981;&#x4F7F;&#x7528;&#x3002;</p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="loop-unrolling.html" class="navigation navigation-prev " aria-label="Previous page: Loop Unrolling">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="modal.html" class="navigation navigation-next " aria-label="Next page: Modal">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"Mobile Recommendation","level":"1.32","depth":1,"next":{"title":"Modal","level":"1.33","depth":1,"path":"前端进阶/modal.md","ref":"前端进阶/modal.md","articles":[]},"previous":{"title":"Loop Unrolling","level":"1.31","depth":1,"path":"前端进阶/loop-unrolling.md","ref":"前端进阶/loop-unrolling.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["summary","livereload"],"pluginsConfig":{"summary":{},"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"前端进阶/mobile recommendation.md","mtime":"2021-02-15T12:04:36.000Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2021-03-24T08:50:55.666Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

